package com.sqz.service.impl;

import com.sqz.dao.AdminDao;
import com.sqz.pojo.AdminsEntity;
import com.sqz.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminDao adminDao;


    @Override
    public AdminsEntity adminLogin(AdminsEntity adminsEntity) {
        AdminsEntity entity = adminDao.selectAdminByLogin(adminsEntity);

        return entity;
    }
}
